<ion-view>
  <ion-header-bar class="bar bar-header header">
    <button on-touch="goback()" class="button return-btn">返回</button>
    <h1 class="title">视频</h1>
  </ion-header-bar>
  <ion-content  class="gray-bg" has-bouncing="true">
    <div  ng-if="videoDetail">
   <!-- <video id="video" ng-if="isIOS&&isInnerVideo"
           class=" video-js vjs-default-skin vjs-big-play-centered" controls preload="none"
           poster="{{picPath}}{{videoDetail.video_background}}"
           style="width:100%;height:300px"
           data-setup="{}">
      <source src="{{trustSrc(videoPath)}}" type='video/mp4' />
      <source src="{{trustSrc(videoPath)}}" type='video/webm' />
      <source src="{{trustSrc(videoPath)}}" type='video/ogg' />
    </video>
    <div class="video-play-box" ng-if="isAndroid&&isInnerVideo">
      <div on-touch="playVideo()" class="video_top">
            <div class="video_img">
              <img src="{{picPath}}{{videoDetail.video_background}}">
            </div>
            <div class="video_play">
              <img src="img/video-li-play-icon.png">
            </div>
      </div>
    </div>-->
    <div ng-if="!isInnerVideo&&isActive" style="height:300px;width:100%" ng-bind-html="videoDetail.video_addr">
    </div>
    <div class="video-play-box" ng-if="!isInnerVideo&&!isActive" style="height:300px;width:100%">
      <div class="video_top">
        <div class="video_img">
          <img ng-src="{{picPath}}{{videoDetail.video_background}}">
        </div>
        <!--<div class="video_play">
          <img src="img/video-li-play-icon.png">
        </div>-->
      </div>
    </div>
    <div class="video-content">
        <h3 ng-bind="videoDetail.video_title"></h3>
        <p ng-bind-html="videoDetail.video_desc"></p>
    </div>
    </div>
</ion-content>
  <div class="tabs tabs-icon-only ctrl-fix-nav" ng-if="videoDetail">
   <!-- <a on-touch="showshare()" class="tab-item">
      <i class="icon ctrl-share-btn"></i>
    </a>-->
    <a on-touch="collectVideo()" class="tab-item">
      <i class="icon ctrl-collect-btn" ng-class="{'active':videoDetail.vcStatus}"></i>
    </a>
    <a on-touch="likeVideo()" class="tab-item">
      <i class="icon ctrl-praise-btn" ng-class="{'active':videoDetail.lvStatus}"></i>
    </a>
    <a ng-href="#/videoComment/{{videoDetail.video_id}}" class="tab-item">
      <i class="icon ctrl-comment-btn"><em class="ctrl-nav-num" ng-bind="videoDetail.video_comment_num"></em></i>
    </a>
  </div>
</ion-view>
